package com.zja.pojo;

import java.util.List;

public class Result<E> {
    private Boolean flag;
    private E data;

    public Result(Boolean flag, E data) {
        this.flag = flag;
        this.data = data;
    }

    public Result() {
    }

    public Boolean getFlag() {
        return flag;
    }

    public void setFlag(Boolean flag) {
        this.flag = flag;
    }

    public E getData() {
        return data;
    }

    public void setData(E data) {
        this.data = data;
    }
}
